package model

import "gorm.io/gorm"

type App struct {
	gorm.Model
	Name      string `gorm:"type:varchar(30)" json:"name"`
	LikeCount int    `gorm:"type:int(11)" json:"likeCount"`
	Types     string `gorm:"type:varchar(11)" json:"types"`
}

type Types struct {
	gorm.Model
	Name string `gorm:"type:varchar(30)" json:"name"`
}

type AppTypes struct {
	gorm.Model
	Aid int `gorm:"type:int(11)" json:"aid"`
	Tid int `gorm:"type:int(11)" json:"tid"`
}
